package com.rany.day06.demo05;

import java.lang.reflect.Array;
import java.util.Arrays;

public class TestSystemCopyArray {
    public static void main(String[] args) {
        int[] a = {1,2,3,4,5};
        int[] b = {6,7,8,9,10};
        System.out.println(Arrays.toString(a));
        System.arraycopy(a,3,b,2,2);
        System.out.println(Arrays.toString(b));
    }
}
